home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / graphics / 3d_land.arj / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-01-04  |  2KB  |  47 lines

  1. @echo off
  2. rem  This program takes 3dland_a.exe and moves it to the directory 
  3. rem   specified by %1%2 then runs 3dland_a.exe. Next it erases 3dland_a.exe
  4. rem   from %1%2 and displays the file readme.
  5. rem
  6. rem  3dland_a.exe is just a auto-expanding zip file.
  7. rem
  8. rem  This is the original Installation program provided by Paul Bloomquist
  9. rem  and should not be modified unless prior concent is given, however you
  10. rem  do not need to include this instalation program when 3d_landscape is 
  11. rem  distributed to other people.
  12. rem --------------------------------------------------------------------------
  13. if "%1"=="" goto error
  14. if "%2"=="" goto error
  15. cls
  16. echo  ═══════════════════════════════════════════════════════════════════
  17. echo     You have chosen to install 3d_landscape into...                       
  18. echo     %1%2                                                            
  19. echo     If this is NOT what you want then type ctrl-c now.
  20. echo  ═══════════════════════════════════════════════════════════════════
  21. pause
  22. md %1%2
  23. copy 3dland_a.exe %1%2 /v 
  24. %1
  25. cd %2
  26. 3dland_a.exe
  27. erase 3dland_a.exe
  28. cls
  29. type readme
  30. goto exit
  31. :error
  32. cls
  33. echo  ╔═══════════════════════════════════════════════════════════════════╗
  34. echo  ║                                                                   ║
  35. echo  ║   Install needs the drive and directory you wish to install       ║
  36. echo  ║   the program into.                                               ║
  37. echo  ║                                                                   ║
  38. echo  ║   install c: \3d_land                                             ║
  39. echo  ║                                                                   ║
  40. echo  ║ (will install 3d_landscape into drive c in the directory called   ║
  41. echo  ║   3d_land, make sure you have a space between the drive letter    ║
  42. echo  ║   and the directory.)                                             ║
  43. echo  ║                                                                   ║
  44. echo  ╚═══════════════════════════════════════════════════════════════════╝
  45. goto exit
  46. :exit
  47.